package com.ruoyi.cs.domain;

import java.math.BigDecimal;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 饰品信息对象 t_goods
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
@Data
public class TGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 饰品ID */
    @ApiModelProperty(value = "饰品ID")
    private String goodsId;

    /** 饰品名称 */
    @Excel(name = "饰品名称")
    @ApiModelProperty(value = "饰品名称")
    private String goodsName;

    /** 饰品图片 */
    @Excel(name = "饰品图片")
    @ApiModelProperty(value = "饰品图片")
    private String goodsPic;

    /** 饰品市场价格 */
    @Excel(name = "饰品市场价格")
    @ApiModelProperty(value = "饰品市场价格")
        private BigDecimal goodsPrice;

    /** 饰品兑换价格 */
    @Excel(name = "饰品兑换价格")
    @ApiModelProperty(value = "饰品兑换价格")
    private BigDecimal goodsExprice;

    /** 饰品开启概率 */
    @Excel(name = "饰品开启概率")
    @ApiModelProperty(value = "饰品开启概率")
    private BigDecimal goodsChance;

    /** 饰品库存数 */
    @Excel(name = "饰品库存数")
    @ApiModelProperty(value = "饰品库存数")
    private Long goodsStocknum;

    /** 饰品总上架数量 */
    @Excel(name = "饰品总上架数量")
    @ApiModelProperty(value = "饰品总上架数量")
    private Long goodsPutnum;

    /** 饰品类型 */
    @Excel(name = "饰品类型")
    @ApiModelProperty(value = "饰品类型")
    private String goodsType;

    /** 饰品品级 */
    @Excel(name = "饰品品级")
    @ApiModelProperty(value = "饰品品级")
    private String goodsGrate;

    /** 饰品磨损度 */
    @Excel(name = "饰品磨损度")
    @ApiModelProperty(value = "饰品磨损度")
    private String goodsWear;

    /** 饰品所属类型 0 箱子  1 ROLL房间 2 幸运饰品 3 饰品商城 4 补偿饰品 */
    @Excel(name = "饰品所属类型 0 箱子  1 ROLL房间 2 幸运饰品 3 饰品商城 4 补偿饰品")
    @ApiModelProperty(value = "饰品所属类型 0 箱子  1 ROLL房间 2 幸运饰品 3 饰品商城 4 补偿饰品")
    private String goodsBelongingType;

    /** 饰品所属类型ID 当所属类型为 0  箱子ID 1 ROLL房间ID 其他为空 */
    @Excel(name = "饰品所属类型ID 当所属类型为 0  箱子ID 1 ROLL房间ID 其他为空")
    @ApiModelProperty(value = "饰品所属类型ID 当所属类型为 0  箱子ID 1 ROLL房间ID 其他为空")
    private String goodsBelongingId;

    /** 推荐饰品 */
    @Excel(name = "推荐饰品 0 是  1 不是")
    @ApiModelProperty(value = "推荐饰品 0 是  1 不是")
    private String recommendGoods;

    /** 饰品库存状态 */
    @Excel(name = "饰品库存状态")
    @ApiModelProperty(value = "饰品库存状态")
    private String goodsStockStatus;

    /** 幸运饰品升级最小区间概率 */
    @Excel(name = "幸运饰品升级最小区间概率")
    @ApiModelProperty(value = "幸运饰品升级最小区间概率")
    private BigDecimal minSectionRate;

    /** 幸运饰品升级最大区间概率 */
    @Excel(name = "幸运饰品升级最大区间概率")
    @ApiModelProperty(value = "幸运饰品升级最大区间概率")
    private BigDecimal maxSectionRate;

    /** 饰品种类 */
    @Excel(name = "饰品种类")
    @ApiModelProperty(value = "饰品种类")
    private String goodsMold;

    /** 饰品品质 */
    @Excel(name = "饰品品质")
    @ApiModelProperty(value = "饰品品质")
    private String goodsQuality;

    /**ZBT链接*/
    @ApiModelProperty(value = "ZBT链接")
    private Integer ZBT;

    /**幸运饰品系数设置*/
    @ApiModelProperty(value = "幸运饰品系数设置")
    private BigDecimal XSSZ;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    @Excel(name = "删除标志")
    private String delFlag;

    /** 版本号 */
    @ApiModelProperty(value = "版本号")
    @Excel(name = "版本号")
    private Integer version;

    /**背包ID*/
    @ApiModelProperty(value = "背包ID")
    private String bbId;

    /** 后台标志*/
    @ApiModelProperty(value = "后台标志")
    private String backStage;

    /**所属类型名称*/
    @ApiModelProperty(value = "所属类型名称")
    private String goodsBelongingName;

    /**上架数量*/
    @ApiModelProperty(value = "上架数量")
    private Long num;

    /**价格区间*/
    @ApiModelProperty(value = "价格区间 最小价格")
    private BigDecimal minPrice;
    @ApiModelProperty(value = "价格区间 最大价格")
    private BigDecimal maxPrice;

    /**饰品池饰品ID*/
    @ApiModelProperty(value = "饰品池饰品ID")
    private String goodsPoolId;

    /**开出个数*/
    @ApiModelProperty(value = "开出个数")
    private String outNum;
    /**取回个数*/
    @ApiModelProperty(value = "取回个数")
    private String retrieveNum;

    /**原始价格*/
    /**原始价格*/
    @ApiModelProperty(value = "原始价格")
    private BigDecimal price;
    /**用户头像*/
    @ApiModelProperty(value = "用户头像")
    private String userPic;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "minMoney")
    private String minMoney;
    @ApiModelProperty(value = "maxMoney")
    private String maxMoney;

    @ApiModelProperty(value = "marketHashName")
    private String marketHashName;

    @ApiModelProperty(value = "规则类型")
    private String ruleType;


    @ApiModelProperty(value = "自动发货在售最低价")
    private BigDecimal autoDeliverPrice;

    @ApiModelProperty(value = "自动发货在售数量")
    private Long autoDeliverQuantity;

    @ApiModelProperty(value = "人工发货在售最低价")
    private BigDecimal manualDeliverPrice;

    @ApiModelProperty(value = "人工发货在售数量")
    private Long manualQuantity;

    @ApiModelProperty(value = "溢价率")
    private BigDecimal premiumRate;

    @ApiModelProperty(value = "是否保底饰品")
    private Integer whetherFloors;

    @ApiModelProperty(value = "更新开始时间")
    private String updateStartTime;

    @ApiModelProperty(value = "更新结束时间")
    private String updateEndTime;

    @ApiModelProperty(value = "roll值区间")
    private String rollValueRange;

    private JSONObject rollValueRangeObj;

    private String rarityName;

}
